Skip to content

Conversation

@JulianVennen
Copy link
Member

This PR throws an error if an invalid where condition of the "IN" or "NOT IN" operator is passed to a query.
These conditions can be invalid, either because their value is an empty array or because it's not an array at all.

Previous behavior:

Case Mysql Test Driver
IN with a non-array Mysql error PHP TypeError
IN with empty array Mysql error Matches nothing, but completes successfully

@matthi4s matthi4s merged commit d06b719 into aternosorg:master Feb 3, 2026
3 checks passed
@JulianVennen JulianVennen deleted the in-valid branch February 3, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants